

/**
 * 医生、医助相关api
 */

import request from "@/utils/request.js";


 /**
  * 获取开方用户列表
  */
 
 export function rpUserlist(data) {
 	return request.get('prescribe/user/list', data, {noAuth: true});
 }
 
/**
 * 获取医生信息
 * 【医助获取绑定的医生信息；医生获取自己的信息】
 */

export function doctorInfo(data) {
	return request.get('doctor/identity/doctorInfo', data, {noAuth: true});
}

/**
 * 获取预约列表
 */
export function docAppointmentList(data) {
	return request.get('doctor/identity/appointmentList', data, {noAuth: true});
}

/**
 * 预约核销
 */
export function docAppointmentVerify(data) {
	return request.post('doctor/identity/verify', data, {noAuth: true});
}
/**
 * 问诊列表
 */
export function docInquiryList(data) {
	return request.get('doctor/identity/inquiryList', data, {noAuth: true});
}

/**
 * 离线、在线【is_online(0离线 1在线)】
 */
export function doctorOnline(data) {
	return request.post('doctor/identity/online', data, {noAuth: true});
}
